import mitt, { type Emitter } from 'mitt'
type Events = {
  [propName: string]: any
}
const eventBus: Emitter<Events> = mitt<Events>()
export default eventBus
